<!DOCTYPE html>
<html lang="en">
<head th:include="certificateWeb/headFoot :: headerCss">
</head>
<style>
    .sec_2 {
        width: 1100px;
        /*display:inne-block;*/
        /*float: left;*/
        margin: 0 auto;
    }

    .p_1 {
        margin: 30px auto 50px auto;
    }

    .span_3 {
        width: 1100px;
        text-align: center;
        margin: 0 auto;
        display: inline-block;
    }

    .div_4 {
        width: 1100px;
        /*border: 1px #ced4da sod;*/
        margin: 10px auto auto auto;
    }

    table > thead > tr > th, table > tbody > tr > th, table > tfoot > tr > th, table > thead > tr > td, table > tbody > tr > td, table > tfoot > tr > td {
        border: 1px solid #999;
        line-height: 1.42857;
        padding: 8px;
        vertical-align: middle;
    }

    table {
        width: 100%;
    }
</style>
<!--<link href="/css/web/themes/about.css" rel="stylesheet">-->
<body id="body">
<div th:include="certificateWeb/headFoot :: header"></div>
<main id="main" style="background: #fff">
    <!--==========================
      About Section
    ============================-->
    <section class="sec_2">
        <div class="div_4" style="border-bottom: 1px solid #efefef;margin-top:40px;padding-bottom: 20px">
            <span>
                所在位置：
                <a href="/certificate/policyInfo">信息资讯</a>&nbsp;>
                资讯详情
            </span>
        </div>

        <div class="div_4">
            <h3 style="margin:60px 0 20px 0; text-align: center;" th:text="${consultations.title}"></h3>
            <span class="span_3" 　th:text="${'时间：'+#dates.format(consultations.createrDate,'yyyy-MM-dd HH:mm')}"></span>
            <div class="p_1" 　th:utext="${consultations.contents}"></div>
            <input id="files" th:value="${consultations.files}" type="hidden"/>
            <div th:style="${#strings.isEmpty(consultations.files)}  ? 'display:none' : ''" class="p_1">附件：<a
                    style="color:#005C34;text-decoration: underline" id="filesName" download
                    th:href="${consultations.files}"></a></div>
        </div>

    </section>
</main>
<div th:include="certificateWeb/headFoot :: footer"></div>
<script>
    $("#filesName").html(subFileName($("#files").val()))

</script>
</body>
</html>